<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>
<title><?= $sf_response->getTitle() ?></title>
<?php use_stylesheet('/sf/sf_admin/css/main') ?>

<div id="sf_admin_container">

<h1><?php if ($component_type->getId()) echo 'Edit '. $component_type->getName(); else echo 'Create Type' ?></h1>

<div id="sf_admin_header">
<?php include_partial('componenttype/edit_header', array('component_type' => $component_type)) ?>
</div>

<div id="sf_admin_content">
<?php include_partial('componenttype/edit_messages', array('component_type' => $component_type, 'labels' => $labels)) ?>
<?php include_partial('componenttype/edit_form', array('component_type' => $component_type, 'labels' => $labels)) ?>
</div>

<div id="sf_admin_footer">
<?php include_partial('componenttype/edit_footer', array('component_type' => $component_type)) ?>
</div>

</div>
